<ion-view hide-nav-bar="false" title="违约发布">
	<ion-nav-buttons side="right">
			<button ng-click='commitUserData()' class="button button-balanced" style="background-color: white; color: #000000; ">提交	<i class="icon ion-checkmark-round"></i> </button>
	</ion-nav-buttons>
	<ion-content >
		<div class="list">
			<label class="item item-input">
          <span class="input-label">违约人姓名</span>
          <input type="text" ng-model="user.name" placeholder="与身份证姓名一致">
        </label>
			<label class="item item-input">
          <span class="input-label">联系电话</span>
          <input type="text" ng-model="user.phone" placeholder="违约人的手机号码">
        </label>
			<label class="item item-input">
          <span class="input-label">身份证号</span>
          <input type="text" ng-model="user.certificateNo" placeholder="与身份证号一致">
        </label>
		     <label class="item item-input item-select">
			    <div class="input-label">
			     性别
			    </div>
			    <select>
			      <option ng-model="user.sexdata" ng-value="0">男</option>
			      <option selected ng-model="user.sexdata" ng-value="1">女</option>
			    </select>
			  </label>
		 <label class="item item-input">
          <span class="input-label">违约人QQ号码</span>
           <input type="text" ng-model="user.qq" placeholder="违约人qq" >
        </label>
        </label>
        <div class="item item-input">
			    <span class="input-label">违约人省市区</span>
			    <ionic-city-picker options='vm.CityPickData' style="width:230px;text-align:left;"></ionic-city-picker>
			</div>
			<label class="item item-input">
          <span class="input-label ">标题</span>
          <input type="text" placeholder="请填写标题（不超过15个字）" ng-model="user.title">
        </label>
			<div class="item item-divider" style="margin-top: 0px;border: none; height: 50px;" width="100% ">
				<div style="height: 30px;line-height: 30px;"> 违约描述</div>	
			</div>
<!--			请详细描述违约事实的时间、地点、人物、原因、经过、结果，违约描述请勿使用不文明用语，以便通过审核。
-->			<textarea ng-model="user.defaultContent" placeholder="请详细描述违约事实的时间、地点、人物、原因、经过、结果，违约描述请勿使用不文明用语，以便通过审核。"  style=" margin-top: 1px; text-indent: 15px;width:100%; color:#999999"  cols="50" rows="5" id="textarea" ></textarea>
	    	<div class="item item-divider" style="margin-top: 0px;border: none; height: 50px;" width="100%">
				<div style="height: 30px;word-wrap: break-word; "> 照片证据(可以上传多张,第一张为封面)</div>	
			</div>      
			<div>
				<!-- 显示服务器上的图片-->
				<span ng-repeat="lifePic in lifePicAddressList">
<!--					<img ng-src="http://192.168.0.105:8080/webroot/blacksyspic/{{lifePic.lifePicAddress}}" width="100" height="100"/>
-->
					<img ng-src="http://image.credit-manage.com/{{lifePic.lifePicAddress}}" width="100" height="100"/>

				</span>
				<br/>
				<!-- 点击上传图片-->
				<img style="margin-left: 9px;" src="img/add_unpressed.png" width="50" height="50" ng-click="uploadPic(4)"/>
			</div>

		</div>
		<div style="height: 10px;">
				
			</div>
	</ion-content>
</ion-view>